package com.cdks.wuxiu.api.model.param;

import javax.validation.constraints.NotNull;

import com.cdks.wuxiu.api.model.common.AuthParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@ApiModel(description = "预约咨询创建参数")
@Data
@EqualsAndHashCode(callSuper = true)
public class BookCreateParam extends AuthParam {
    @NotNull
    @ApiModelProperty(value = "受约用户id", required = true, example = "1")
    private Long recverId;

    @NotNull
    @ApiModelProperty(value = "预约时长", required = true)
    private Integer minutes;

    @NotNull
    @ApiModelProperty(value = "预约单价", required = true)
    private Integer price;

    @NotNull
    @ApiModelProperty(value = "建单用户角色", required = true)
    private Integer role;    

    @ApiModelProperty(value = "咨询开始unix时间", required = true)
    private Long time;

    @ApiModelProperty(value = "预约内容", required = true)
    private String content;
}
